<%@include file="_header.jsp"%>

<title>${inhoud.myCoursesTitle}</title>
</head>
<body>
    <c:choose>
        <c:when test="${userLevel == null}">
            <%@include file="errorPage.jsp"%>
        </c:when><c:otherwise>
            <%@include file="_menu.jsp"%>


            <div class="sidebar">

                <div class="redbar"><a href="#"><div id="bar-textcontent">${inhoud.myCoursesTitle}</div></a>
                </div>
                <div id="sidescreen">

                    <ul class="thumbnails">
                        <li class="span4">
                            <div class="thumbnail">
                                <h3>${inhoud.myCoursesT}</h3>
                                <img src="icons/view_courses.png" alt="">

                                <p>${inhoud.myCoursesT2}</p>
                            </div>
                        </li>
                    </ul>


                </div>



            </div>

            <div class="wrappermain">


                <div class="digitalclass">
                    <div id="subheader"> <div id="bar-textcontent">${inhoud.myCoursesT}</div> </div>






                    <div class="main-digital">


                        <table class="table" >
                            <tr>
                                <td>${inhoud.changeCourseT}:</td>
                            </tr>

                            <c:forEach var="courseinfo" items="${myCoursesUitSessie}">    
                                <c:set var="course" value="${courseinfo}" />
                                <tr>
                                    <td>
                                        ${courseinfo.courseName}
                                    </td>
                                    <td>      
                                        <a href="course-view?mycourseid=${courseinfo.courseID}"><img src="icons/open-button.png"></a>
                                    </td>
                                </tr>
                            </c:forEach>  
                        </table>


                    </div>
                </div>
            </div>
        </c:otherwise></c:choose>
</body>
</html>
